<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <base href="${request.contextPath}/"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>农业大数据</title>
    <script src="${request.contextPath}/js/jquery-1.11.1.min.js"></script>
    <script src="${request.contextPath}/js/echarts.min.js"></script>
    <script src="${request.contextPath}/js/common_click.js"></script>
    <link rel="stylesheet" href="${request.contextPath}/css/common.css">
    <link rel="stylesheet" href="${request.contextPath}/css/wlwjd.css">
    <link rel="stylesheet" href="${request.contextPath}/lib/video/Dvideo.js/css/Dvideo.css">
    <link rel="stylesheet" href="${request.contextPath}/lib/video/Dvideo.js/css/video_css.css">
    <link rel="stylesheet" href="${request.contextPath}/lib/video/Dvideo.js/font-icon/style.css">
    <style>
        .content_name {
            position: relative;
        }

        .content_name {
            position: absolute;
            left: 50px;
            top: 50px;
            font-size: 40px;
            color: white;
            font-weight: 600;
        }
    </style>
    <#import "/spring.ftl" as spring>
</head>
<body>
<div class="video_mask">
    <h3 class="video_mask_title"><@spring.message code="wlwjd.sssp"/></h3>
    <div class="clos">
        <img src="${request.contextPath}/images/clos.png" alt="">
    </div>
    <div class="centerInfo">
        <!--视频路径在 video_js.js里-->
        <div id="testVideo"></div>

    </div>
</div>
<div class="top_all">
    <p class="top_title"><@spring.message code="index.top"/></p>
    <div class="top_user">
        <div class="user_user">
            <#if isAdmn == "TRUE">
            <div class="top_user_img">
                <img src="${request.contextPath}/images/timg.png" alt="">

            </div>

            <a href="javascript:;" onclick="shouye()">
                <p class="top_user_name"><@spring.message code="index.page"/></p>
            </a>
        </#if>
        </div>

    </div>


    <div class="top_out">
        <div class="out_out">
            <div class="top_out_img">
                <img src="${request.contextPath}/images/icon.png" alt="">

            </div>
            <a href="${request.contextPath}/sy/logout">
                <p class="top_out_name"><@spring.message code="index.out"/></p>
            </a>
        </div>

    </div>


</div>

<!--图-->
<div class="content_all">


        <div class="content">
            <div class="content_name">
                ${land.massifName}
            </div>
            <img src="${imgurl}" >
        </div>
        <div class="float_text">
            <div class="float_text_title"><@spring.message code="wlwjd.wlwjd"/>
                <span class="close">X</span>
            </div>
            <div class="float_text_text"><p>${detailed}</p></div>
        </div>
        <#list listsp as dws>
            <div title="实时视频" class="content_img_postion content_img_dk" style="top:${dws.top!'50%'};left: ${dws.left!'50%'};" onclick="show(${dws.spnum!'40'})">
                <img src="${request.contextPath}/images/postion.png" alt="">
            </div>
        </#list>
        <!--<div title="实时视频2" class="content_img_postion content_img_dk">-->
            <!--<img src="${request.contextPath}/images/postion.png" alt="">-->
        <!--</div>-->
        <!--<div title="实时视频3" class="content_img_postion content_img_dk">-->
            <!--<img src="${request.contextPath}/images/postion.png" alt="">-->
        <!--</div>-->

        <div title="精准农业" class="content_img_jzny content_img_jz" style="top:${jz.top!'50%'};left: ${jz.left!'50%'};" onclick="jzny('${land.massifId!""}')">
            <img src="${request.contextPath}/images/jznytb.png" alt="">
        </div>


</div>

<div class="footer_all"></div>
<input type="hidden" id="landid" name="landid" value="${land.massifId}">
<input type="hidden" id="path1" name="path1" value="${request.contextPath}">
<script src="${request.contextPath}/lib/video/Dvideo.js/js/Dvideo.js"></script>

<script src="${request.contextPath}/js/layer/layer.js"></script>
<script src="${request.contextPath}/js/wlwjd.js"></script>
<script>
    $(function () {


        $(".button_click").eq(0).css({backgroundColor: "#43D3FF"})
        $(".button_click").eq(0).children("a").css({color: "#1921BB"})


    })
</script>
<script>

    var zlzs='<@spring.message code="menu.zlzs"/>';
    var zjwd='<@spring.message code="menu.zjwd"/>';
    var nybk='<@spring.message code="menu.nybk"/>';
    var nydsj='<@spring.message code="menu.nydsj"/>';


</script>
<script>
    function shouye(){
        var req = new XMLHttpRequest();
        req.open('GET', document.location, false);
        req.send(null);
        var headers = req.getAllResponseHeaders();
        var local=req.getResponseHeader('content-language');
        if(local=="en-US"){
            local="en_US";
        }else{
            local="zh_CN";
        }
        //alert(local+"-----"+"en_US");
        window.location.href="${request.contextPath}/sy/index/index?locale="+local;
    }
</script>
</body>

</html>



